<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="description" content="API docs for the Isolate class from the dart:isolate library, for the Dart programming language.">
  <title>Isolate class - dart:isolate library - Dart API</title>
  <!-- required because all the links are pseudo-absolute -->
  <base href="..">

  <link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:500,400i,400,300|Source+Sans+Pro:400,300,700" rel="stylesheet">
  <link rel="stylesheet" href="static-assets/github.css">
  <link rel="stylesheet" href="static-assets/styles.css">
  <link rel="icon" href="static-assets/favicon.png">

</head>

<body>

<div id="overlay-under-drawer"></div>

<header id="title">
  <button id="sidenav-left-toggle" type="button">&nbsp;</button>
  <ol class="breadcrumbs gt-separated dark hidden-xs">
    <li><a href="index.html">spritewidget</a></li>
    <li><a href="dart-isolate/dart-isolate-library.html">dart:isolate</a></li>
    <li class="self-crumb">Isolate class</li>
  </ol>
  <div class="self-name">Isolate</div>
  <form class="search navbar-right" role="search">
    <input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  </form>
</header>

<main>

  <div class="col-xs-6 col-sm-3 col-md-2 sidebar sidebar-offcanvas-left">
    <h5>dart:isolate library</h5>
    <ol>
      <li class="section-title"><a href="dart-isolate/dart-isolate-library.html#classes">Classes</a></li>
      <li><a href="dart-isolate/Capability-class.html">Capability</a></li>
      <li><a href="dart-isolate/Isolate-class.html">Isolate</a></li>
      <li><a href="dart-isolate/RawReceivePort-class.html">RawReceivePort</a></li>
      <li><a href="dart-isolate/ReceivePort-class.html">ReceivePort</a></li>
      <li><a href="dart-isolate/SendPort-class.html">SendPort</a></li>
    
    
    
    
    
    
      <li class="section-title"><a href="dart-isolate/dart-isolate-library.html#exceptions">Exceptions</a></li>
      <li><a href="dart-isolate/IsolateSpawnException-class.html">IsolateSpawnException</a></li>
      <li><a href="dart-isolate/RemoteError-class.html">RemoteError</a></li>
    </ol>
  </div>

  <div class="col-xs-12 col-sm-9 col-md-8 main-content">
    <h1>Isolate class</h1>

    <section class="desc markdown">
      <p>An isolated Dart execution context.</p>
<p>All Dart code runs in an isolate, and code can access classes and values
only from the same isolate. Different isolates can communicate by sending
values through ports (see <a href="dart-isolate/ReceivePort-class.html">ReceivePort</a>, <a href="dart-isolate/SendPort-class.html">SendPort</a>).</p>
<p>An <code>Isolate</code> object is a reference to an isolate, usually different from
the current isolate.
It represents, and can be used control, the other isolate.</p>
<p>When spawning a new isolate, the spawning isolate receives an <code>Isolate</code>
object representing the new isolate when the spawn operation succeeds.</p>
<p>Isolates run code in its own event loop, and each event may run smaller tasks
in a nested microtask queue.</p>
<p>An <code>Isolate</code> object allows other isolates to control the event loop
of the isolate that it represents, and to inspect the isolate,
for example by pausing the isolate or by getting events when the isolate
has an uncaught error.</p>
<p>The <a href="dart-isolate/Isolate/controlPort.html">controlPort</a> identifies and gives access to controlling the isolate,
and the <a href="dart-isolate/Isolate/pauseCapability.html">pauseCapability</a> and <a href="dart-isolate/Isolate/terminateCapability.html">terminateCapability</a> guard access
to some control operations.
For example, calling <a href="dart-isolate/Isolate/pause.html">pause</a> on an <code>Isolate</code> object created without a
<a href="dart-isolate/Isolate/pauseCapability.html">pauseCapability</a>, has no effect.</p>
<p>The <code>Isolate</code> object provided by a spawn operation will have the
control port and capabilities needed to control the isolate.
New isolate objects can be created without some of these capabilities
if necessary, using the <a href="dart-isolate/Isolate/Isolate.html">Isolate.Isolate</a> constructor.</p>
<p>An <code>Isolate</code> object cannot be sent over a <code>SendPort</code>, but the control port
and capabilities can be sent, and can be used to create a new functioning
<code>Isolate</code> object in the receiving port's isolate.</p>
    </section>
    

    <section class="summary offset-anchor" id="constructors">
      <h2>Constructors</h2>

      <dl class="constructor-summary-list">
        <dt id="Isolate" class="callable">
          <span class="name"><a href="dart-isolate/Isolate/Isolate.html">Isolate</a></span><span class="signature">(<span class="parameter" id="-param-controlPort"><span class="type-annotation"><a href="dart-isolate/SendPort-class.html">SendPort</a></span> <span class="parameter-name">controlPort</span>, {</span> <span class="parameter" id="-param-pauseCapability"><span class="type-annotation"><a href="dart-isolate/Capability-class.html">Capability</a></span> <span class="parameter-name">pauseCapability</span>, </span> <span class="parameter" id="-param-terminateCapability"><span class="type-annotation"><a href="dart-isolate/Capability-class.html">Capability</a></span> <span class="parameter-name">terminateCapability</span></span> })</span>
        </dt>
        <dd>
          Create a new <a href="dart-isolate/Isolate-class.html">Isolate</a> object with a restricted set of capabilities. <a href="dart-isolate/Isolate/Isolate.html">[...]</a>
        </dd>
      </dl>
    </section>

    <section class="summary offset-anchor" id="instance-properties">
      <h2>Properties</h2>

      <dl class="properties">
        <dt id="controlPort" class="property">
          <span class="name"><a href="dart-isolate/Isolate/controlPort.html">controlPort</a></span>
          <span class="signature">&#8594; <a href="dart-isolate/SendPort-class.html">SendPort</a></span>
        </dt>
        <dd>
          Control port used to send control messages to the isolate. <a href="dart-isolate/Isolate/controlPort.html">[...]</a>
          <div class="features">final</div>
</dd>
        <dt id="errors" class="property">
          <span class="name"><a href="dart-isolate/Isolate/errors.html">errors</a></span>
          <span class="signature">&#8594; <a href="dart-async/Stream-class.html">Stream</a></span>
        </dt>
        <dd>
          Returns a broadcast stream of uncaught errors from the isolate. <a href="dart-isolate/Isolate/errors.html">[...]</a>
          <div class="features">read-only</div>
</dd>
        <dt id="pauseCapability" class="property">
          <span class="name"><a href="dart-isolate/Isolate/pauseCapability.html">pauseCapability</a></span>
          <span class="signature">&#8594; <a href="dart-isolate/Capability-class.html">Capability</a></span>
        </dt>
        <dd>
          Capability granting the ability to pause the isolate. <a href="dart-isolate/Isolate/pauseCapability.html">[...]</a>
          <div class="features">final</div>
</dd>
        <dt id="terminateCapability" class="property">
          <span class="name"><a href="dart-isolate/Isolate/terminateCapability.html">terminateCapability</a></span>
          <span class="signature">&#8594; <a href="dart-isolate/Capability-class.html">Capability</a></span>
        </dt>
        <dd>
          Capability granting the ability to terminate the isolate. <a href="dart-isolate/Isolate/terminateCapability.html">[...]</a>
          <div class="features">final</div>
</dd>
        <dt id="hashCode" class="property inherited">
          <span class="name"><a href="dart-core/Object/hashCode.html">hashCode</a></span>
          <span class="signature">&#8594; <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd class="inherited">
          The hash code for this object. <a href="dart-core/Object/hashCode.html">[...]</a>
          <div class="features">read-only, inherited</div>
</dd>
        <dt id="runtimeType" class="property inherited">
          <span class="name"><a href="dart-core/Object/runtimeType.html">runtimeType</a></span>
          <span class="signature">&#8594; <a href="dart-core/Type-class.html">Type</a></span>
        </dt>
        <dd class="inherited">
          A representation of the runtime type of the object.
          <div class="features">read-only, inherited</div>
</dd>
      </dl>
    </section>

    <section class="summary offset-anchor" id="instance-methods">
      <h2>Methods</h2>
      <dl class="callables">
        <dt id="addErrorListener" class="callable">
          <span class="name"><a href="dart-isolate/Isolate/addErrorListener.html">addErrorListener</a></span><span class="signature">(<wbr><span class="parameter" id="addErrorListener-param-port"><span class="type-annotation"><a href="dart-isolate/SendPort-class.html">SendPort</a></span> <span class="parameter-name">port</span></span>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Requests that uncaught errors of the isolate are sent back to <code>port</code>. <a href="dart-isolate/Isolate/addErrorListener.html">[...]</a>
          
</dd>
        <dt id="addOnExitListener" class="callable">
          <span class="name"><a href="dart-isolate/Isolate/addOnExitListener.html">addOnExitListener</a></span><span class="signature">(<wbr><span class="parameter" id="addOnExitListener-param-responsePort"><span class="type-annotation"><a href="dart-isolate/SendPort-class.html">SendPort</a></span> <span class="parameter-name">responsePort</span>, {</span> <span class="parameter" id="addOnExitListener-param-response"><span class="type-annotation"><a href="dart-core/Object-class.html">Object</a></span> <span class="parameter-name">response</span></span> })
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Requests an exit message on <code>responsePort</code> when the isolate terminates. <a href="dart-isolate/Isolate/addOnExitListener.html">[...]</a>
          
</dd>
        <dt id="kill" class="callable">
          <span class="name"><a href="dart-isolate/Isolate/kill.html">kill</a></span><span class="signature">(<wbr>{<span class="parameter" id="kill-param-priority"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">priority</span>: <span class="default-value">beforeNextEvent</span></span> })
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Requests the isolate to shut down. <a href="dart-isolate/Isolate/kill.html">[...]</a>
          
</dd>
        <dt id="pause" class="callable">
          <span class="name"><a href="dart-isolate/Isolate/pause.html">pause</a></span><span class="signature">(<wbr>[<span class="parameter" id="pause-param-resumeCapability"><span class="type-annotation"><a href="dart-isolate/Capability-class.html">Capability</a></span> <span class="parameter-name">resumeCapability</span></span> ])
            <span class="returntype parameter">&#8594; <a href="dart-isolate/Capability-class.html">Capability</a></span>
          </span>
        </dt>
        <dd>
          Requests the isolate to pause. <a href="dart-isolate/Isolate/pause.html">[...]</a>
          
</dd>
        <dt id="ping" class="callable">
          <span class="name"><a href="dart-isolate/Isolate/ping.html">ping</a></span><span class="signature">(<wbr><span class="parameter" id="ping-param-responsePort"><span class="type-annotation"><a href="dart-isolate/SendPort-class.html">SendPort</a></span> <span class="parameter-name">responsePort</span>, {</span> <span class="parameter" id="ping-param-response"><span class="type-annotation"><a href="dart-core/Object-class.html">Object</a></span> <span class="parameter-name">response</span>, </span> <span class="parameter" id="ping-param-priority"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">priority</span>: <span class="default-value">immediate</span></span> })
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Requests that the isolate send <code>response</code> on the <code>responsePort</code>. <a href="dart-isolate/Isolate/ping.html">[...]</a>
          
</dd>
        <dt id="removeErrorListener" class="callable">
          <span class="name"><a href="dart-isolate/Isolate/removeErrorListener.html">removeErrorListener</a></span><span class="signature">(<wbr><span class="parameter" id="removeErrorListener-param-port"><span class="type-annotation"><a href="dart-isolate/SendPort-class.html">SendPort</a></span> <span class="parameter-name">port</span></span>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Stops listening for uncaught errors from the isolate. <a href="dart-isolate/Isolate/removeErrorListener.html">[...]</a>
          
</dd>
        <dt id="removeOnExitListener" class="callable">
          <span class="name"><a href="dart-isolate/Isolate/removeOnExitListener.html">removeOnExitListener</a></span><span class="signature">(<wbr><span class="parameter" id="removeOnExitListener-param-responsePort"><span class="type-annotation"><a href="dart-isolate/SendPort-class.html">SendPort</a></span> <span class="parameter-name">responsePort</span></span>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Stops listening for exit messages from the isolate. <a href="dart-isolate/Isolate/removeOnExitListener.html">[...]</a>
          
</dd>
        <dt id="resume" class="callable">
          <span class="name"><a href="dart-isolate/Isolate/resume.html">resume</a></span><span class="signature">(<wbr><span class="parameter" id="resume-param-resumeCapability"><span class="type-annotation"><a href="dart-isolate/Capability-class.html">Capability</a></span> <span class="parameter-name">resumeCapability</span></span>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Resumes a paused isolate. <a href="dart-isolate/Isolate/resume.html">[...]</a>
          
</dd>
        <dt id="setErrorsFatal" class="callable">
          <span class="name"><a href="dart-isolate/Isolate/setErrorsFatal.html">setErrorsFatal</a></span><span class="signature">(<wbr><span class="parameter" id="setErrorsFatal-param-errorsAreFatal"><span class="type-annotation"><a href="dart-core/bool-class.html">bool</a></span> <span class="parameter-name">errorsAreFatal</span></span>)
            <span class="returntype parameter">&#8594; void</span>
          </span>
        </dt>
        <dd>
          Sets whether uncaught errors will terminate the isolate. <a href="dart-isolate/Isolate/setErrorsFatal.html">[...]</a>
          
</dd>
        <dt id="noSuchMethod" class="callable inherited">
          <span class="name"><a href="dart-core/Object/noSuchMethod.html">noSuchMethod</a></span><span class="signature">(<wbr><span class="parameter" id="noSuchMethod-param-invocation"><span class="type-annotation"><a href="dart-core/Invocation-class.html">Invocation</a></span> <span class="parameter-name">invocation</span></span>)
            <span class="returntype parameter">&#8594; dynamic</span>
          </span>
        </dt>
        <dd class="inherited">
          Invoked when a non-existent method or property is accessed. <a href="dart-core/Object/noSuchMethod.html">[...]</a>
          <div class="features">inherited</div>
</dd>
        <dt id="toString" class="callable inherited">
          <span class="name"><a href="dart-core/Object/toString.html">toString</a></span><span class="signature">(<wbr>)
            <span class="returntype parameter">&#8594; <a href="dart-core/String-class.html">String</a></span>
          </span>
        </dt>
        <dd class="inherited">
          Returns a string representation of this object.
          <div class="features">inherited</div>
</dd>
      </dl>
    </section>

    <section class="summary offset-anchor inherited" id="operators">
      <h2>Operators</h2>
      <dl class="callables">
        <dt id="operator ==" class="callable inherited">
          <span class="name"><a href="dart-core/Object/operator_equals.html">operator ==</a></span><span class="signature">(<wbr><span class="parameter" id="==-param-other"><span class="type-annotation">dynamic</span> <span class="parameter-name">other</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-core/bool-class.html">bool</a></span>
          </span>
        </dt>
        <dd class="inherited">
          The equality operator. <a href="dart-core/Object/operator_equals.html">[...]</a>
          <div class="features">inherited</div>
</dd>
      </dl>
    </section>

    <section class="summary offset-anchor" id="static-properties">
      <h2>Static Properties</h2>

      <dl class="properties">
        <dt id="current" class="property">
          <span class="name"><a href="dart-isolate/Isolate/current.html">current</a></span>
          <span class="signature">&#8594; <a href="dart-isolate/Isolate-class.html">Isolate</a></span>
        </dt>
        <dd>
          Return an <a href="dart-isolate/Isolate-class.html">Isolate</a> object representing the current isolate. <a href="dart-isolate/Isolate/current.html">[...]</a>
          <div class="features">read-only</div>
</dd>
        <dt id="packageConfig" class="property">
          <span class="name"><a href="dart-isolate/Isolate/packageConfig.html">packageConfig</a></span>
          <span class="signature">&#8594; <a href="dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="dart-core/Uri-class.html">Uri</a></span>&gt;</span></span>
        </dt>
        <dd>
          The package root of the current isolate, if any. <a href="dart-isolate/Isolate/packageConfig.html">[...]</a>
          <div class="features">read-only</div>
</dd>
        <dt id="packageRoot" class="property">
          <span class="name"><a href="dart-isolate/Isolate/packageRoot.html">packageRoot</a></span>
          <span class="signature">&#8594; <a href="dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="dart-core/Uri-class.html">Uri</a></span>&gt;</span></span>
        </dt>
        <dd>
          The location of the package configuration of the current isolate, if any. <a href="dart-isolate/Isolate/packageRoot.html">[...]</a>
          <div class="features">read-only</div>
</dd>
      </dl>
    </section>

    <section class="summary offset-anchor" id="static-methods">
      <h2>Static Methods</h2>
      <dl class="callables">
        <dt id="resolvePackageUri" class="callable">
          <span class="name"><a href="dart-isolate/Isolate/resolvePackageUri.html">resolvePackageUri</a></span><span class="signature">(<wbr><span class="parameter" id="resolvePackageUri-param-packageUri"><span class="type-annotation"><a href="dart-core/Uri-class.html">Uri</a></span> <span class="parameter-name">packageUri</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="dart-core/Uri-class.html">Uri</a></span>&gt;</span></span>
          </span>
        </dt>
        <dd>
          Maps a package: URI to a non-package Uri. <a href="dart-isolate/Isolate/resolvePackageUri.html">[...]</a>
          
</dd>
        <dt id="spawn" class="callable">
          <span class="name"><a href="dart-isolate/Isolate/spawn.html">spawn</a></span><span class="signature">&lt;<wbr><span class="type-parameter">T</span>&gt;</span><span class="signature">(<wbr><span class="parameter" id="spawn-param-entryPoint"><span class="type-annotation">void</span> <span class="parameter-name">entryPoint</span>(<span class="parameter" id="entryPoint-param-message"><span class="type-annotation">T</span> <span class="parameter-name">message</span></span>), </span> <span class="parameter" id="spawn-param-message"><span class="type-annotation">T</span> <span class="parameter-name">message</span>, {</span> <span class="parameter" id="spawn-param-paused"><span class="type-annotation"><a href="dart-core/bool-class.html">bool</a></span> <span class="parameter-name">paused</span>: <span class="default-value">false</span>, </span> <span class="parameter" id="spawn-param-errorsAreFatal"><span class="type-annotation"><a href="dart-core/bool-class.html">bool</a></span> <span class="parameter-name">errorsAreFatal</span>, </span> <span class="parameter" id="spawn-param-onExit"><span class="type-annotation"><a href="dart-isolate/SendPort-class.html">SendPort</a></span> <span class="parameter-name">onExit</span>, </span> <span class="parameter" id="spawn-param-onError"><span class="type-annotation"><a href="dart-isolate/SendPort-class.html">SendPort</a></span> <span class="parameter-name">onError</span></span> })
            <span class="returntype parameter">&#8594; <a href="dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="dart-isolate/Isolate-class.html">Isolate</a></span>&gt;</span></span>
          </span>
        </dt>
        <dd>
          Creates and spawns an isolate that shares the same code as the current
isolate. <a href="dart-isolate/Isolate/spawn.html">[...]</a>
          
</dd>
        <dt id="spawnUri" class="callable">
          <span class="name"><a href="dart-isolate/Isolate/spawnUri.html">spawnUri</a></span><span class="signature">(<wbr><span class="parameter" id="spawnUri-param-uri"><span class="type-annotation"><a href="dart-core/Uri-class.html">Uri</a></span> <span class="parameter-name">uri</span>, </span> <span class="parameter" id="spawnUri-param-args"><span class="type-annotation"><a href="dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="dart-core/String-class.html">String</a></span>&gt;</span></span> <span class="parameter-name">args</span>, </span> <span class="parameter" id="spawnUri-param-message"><span class="type-annotation">dynamic</span> <span class="parameter-name">message</span>, {</span> <span class="parameter" id="spawnUri-param-paused"><span class="type-annotation"><a href="dart-core/bool-class.html">bool</a></span> <span class="parameter-name">paused</span>: <span class="default-value">false</span>, </span> <span class="parameter" id="spawnUri-param-onExit"><span class="type-annotation"><a href="dart-isolate/SendPort-class.html">SendPort</a></span> <span class="parameter-name">onExit</span>, </span> <span class="parameter" id="spawnUri-param-onError"><span class="type-annotation"><a href="dart-isolate/SendPort-class.html">SendPort</a></span> <span class="parameter-name">onError</span>, </span> <span class="parameter" id="spawnUri-param-errorsAreFatal"><span class="type-annotation"><a href="dart-core/bool-class.html">bool</a></span> <span class="parameter-name">errorsAreFatal</span>, </span> <span class="parameter" id="spawnUri-param-checked"><span class="type-annotation"><a href="dart-core/bool-class.html">bool</a></span> <span class="parameter-name">checked</span>, </span> <span class="parameter" id="spawnUri-param-environment"><span class="type-annotation"><a href="dart-core/Map-class.html">Map</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="dart-core/String-class.html">String</a></span>, <span class="type-parameter"><a href="dart-core/String-class.html">String</a></span>&gt;</span></span> <span class="parameter-name">environment</span>, </span> <span class="parameter" id="spawnUri-param-packageRoot"><span class="type-annotation"><a href="dart-core/Uri-class.html">Uri</a></span> <span class="parameter-name">packageRoot</span>, </span> <span class="parameter" id="spawnUri-param-packageConfig"><span class="type-annotation"><a href="dart-core/Uri-class.html">Uri</a></span> <span class="parameter-name">packageConfig</span>, </span> <span class="parameter" id="spawnUri-param-automaticPackageResolution"><span class="type-annotation"><a href="dart-core/bool-class.html">bool</a></span> <span class="parameter-name">automaticPackageResolution</span>: <span class="default-value">false</span></span> })
            <span class="returntype parameter">&#8594; <a href="dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="dart-isolate/Isolate-class.html">Isolate</a></span>&gt;</span></span>
          </span>
        </dt>
        <dd>
          Creates and spawns an isolate that runs the code from the library with
the specified URI. <a href="dart-isolate/Isolate/spawnUri.html">[...]</a>
          
</dd>
      </dl>
    </section>

    <section class="summary offset-anchor" id="constants">
      <h2>Constants</h2>

      <dl class="properties">
        <dt id="BEFORE_NEXT_EVENT" class="constant">
          <span class="name deprecated"><a class="deprecated" href="dart-isolate/Isolate/BEFORE_NEXT_EVENT-constant.html">BEFORE_NEXT_EVENT</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          <div class="features">@<a href="dart-core/Deprecated-class.html">Deprecated</a>(&quot;Use beforeNextEvent instead&quot;)</div>
  <div>
            <span class="signature"><code>beforeNextEvent</code></span>
          </div>
        </dd>
        <dt id="beforeNextEvent" class="constant">
          <span class="name "><a href="dart-isolate/Isolate/beforeNextEvent-constant.html">beforeNextEvent</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          Argument to <code>ping</code> and <code>kill</code>: Ask for action before the next event.
          
  <div>
            <span class="signature"><code>1</code></span>
          </div>
        </dd>
        <dt id="IMMEDIATE" class="constant">
          <span class="name deprecated"><a class="deprecated" href="dart-isolate/Isolate/IMMEDIATE-constant.html">IMMEDIATE</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          
          <div class="features">@<a href="dart-core/Deprecated-class.html">Deprecated</a>(&quot;Use immediate instead&quot;)</div>
  <div>
            <span class="signature"><code>immediate</code></span>
          </div>
        </dd>
        <dt id="immediate" class="constant">
          <span class="name "><a href="dart-isolate/Isolate/immediate-constant.html">immediate</a></span>
          <span class="signature">&#8594; const <a href="dart-core/int-class.html">int</a></span>
        </dt>
        <dd>
          Argument to <code>ping</code> and <code>kill</code>: Ask for immediate action.
          
  <div>
            <span class="signature"><code>0</code></span>
          </div>
        </dd>
      </dl>
    </section>

  </div> <!-- /.main-content -->

  <div class="col-xs-6 col-sm-6 col-md-2 sidebar sidebar-offcanvas-right">
    <ol>
      <li class="section-title"><a href="dart-isolate/Isolate-class.html#constructors">Constructors</a></li>
      <li><a href="dart-isolate/Isolate/Isolate.html">Isolate</a></li>
    
      <li class="section-title">
        <a href="dart-isolate/Isolate-class.html#instance-properties">Properties</a>
      </li>
      <li><a href="dart-isolate/Isolate/controlPort.html">controlPort</a></li>
      <li><a href="dart-isolate/Isolate/errors.html">errors</a></li>
      <li><a href="dart-isolate/Isolate/pauseCapability.html">pauseCapability</a></li>
      <li><a href="dart-isolate/Isolate/terminateCapability.html">terminateCapability</a></li>
      <li class="inherited"><a href="dart-core/Object/hashCode.html">hashCode</a></li>
      <li class="inherited"><a href="dart-core/Object/runtimeType.html">runtimeType</a></li>
    
      <li class="section-title"><a href="dart-isolate/Isolate-class.html#instance-methods">Methods</a></li>
      <li><a href="dart-isolate/Isolate/addErrorListener.html">addErrorListener</a></li>
      <li><a href="dart-isolate/Isolate/addOnExitListener.html">addOnExitListener</a></li>
      <li><a href="dart-isolate/Isolate/kill.html">kill</a></li>
      <li><a href="dart-isolate/Isolate/pause.html">pause</a></li>
      <li><a href="dart-isolate/Isolate/ping.html">ping</a></li>
      <li><a href="dart-isolate/Isolate/removeErrorListener.html">removeErrorListener</a></li>
      <li><a href="dart-isolate/Isolate/removeOnExitListener.html">removeOnExitListener</a></li>
      <li><a href="dart-isolate/Isolate/resume.html">resume</a></li>
      <li><a href="dart-isolate/Isolate/setErrorsFatal.html">setErrorsFatal</a></li>
      <li class="inherited"><a href="dart-core/Object/noSuchMethod.html">noSuchMethod</a></li>
      <li class="inherited"><a href="dart-core/Object/toString.html">toString</a></li>
    
      <li class="section-title inherited"><a href="dart-isolate/Isolate-class.html#operators">Operators</a></li>
      <li class="inherited"><a href="dart-core/Object/operator_equals.html">operator ==</a></li>
    
      <li class="section-title"><a href="dart-isolate/Isolate-class.html#static-properties">Static properties</a></li>
      <li><a href="dart-isolate/Isolate/current.html">current</a></li>
      <li><a href="dart-isolate/Isolate/packageConfig.html">packageConfig</a></li>
      <li><a href="dart-isolate/Isolate/packageRoot.html">packageRoot</a></li>
    
      <li class="section-title"><a href="dart-isolate/Isolate-class.html#static-methods">Static methods</a></li>
      <li><a href="dart-isolate/Isolate/resolvePackageUri.html">resolvePackageUri</a></li>
      <li><a href="dart-isolate/Isolate/spawn.html">spawn</a></li>
      <li><a href="dart-isolate/Isolate/spawnUri.html">spawnUri</a></li>
    
      <li class="section-title"><a href="dart-isolate/Isolate-class.html#constants">Constants</a></li>
      <li><a class="deprecated" href="dart-isolate/Isolate/BEFORE_NEXT_EVENT-constant.html">BEFORE_NEXT_EVENT</a></li>
      <li><a href="dart-isolate/Isolate/beforeNextEvent-constant.html">beforeNextEvent</a></li>
      <li><a class="deprecated" href="dart-isolate/Isolate/IMMEDIATE-constant.html">IMMEDIATE</a></li>
      <li><a href="dart-isolate/Isolate/immediate-constant.html">immediate</a></li>
    </ol>
  </div><!--/.sidebar-offcanvas-->

</main>

<footer>
  <span class="no-break">
    spritewidget 0.9.16
  </span>

</footer>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="static-assets/typeahead.bundle.min.js"></script>
<script src="static-assets/highlight.pack.js"></script>
<script src="static-assets/URI.js"></script>
<script src="static-assets/script.js"></script>


</body>

</html>
